#include "plugin.h"
#include <stdio.h>

typedef void(*funCallback)();
static funCallback fun_callback = NULL;

bool load_plugins() {
  printf("load_plugins\n");

  long addr = 0x10000;
  fun_callback = (funCallback)addr;

  return true;
}
void unload_plugins() {
  printf("unload_plugins\n");
}
void call_plugin() {
  if (fun_callback)
    fun_callback();
}